/**
 * @desc 存储需要用的公共url
 * @author kyle
 * @date 2020-07-03
 */
import Vue from 'vue'
import utils from './utils.js'

// 当前域名
export const LocalDomain = utils.hostUrl(document.URL)
export const loginUrl = utils.hostUrl(document.URL) + '/m/user/CircleLogin'

Vue.prototype.$LocalDomain = LocalDomain
Vue.prototype.$loginUrl = loginUrl

// 高德js-sdk
export const AmapJs = 'https://webapi.amap.com/maps?v=1.4.5&key=0ddf67fcb856b0e1e40d6685292a4194'

// 微信js-sdk
export const WXJs = 'https://res.wx.qq.com/open/js/jweixin-1.4.0.js'

// 点石成金js-sdk
export const GoldplanJs = 'https://wx.gtimg.com/pay_h5/goldplan/js/jgoldplan-1.0.0.js'
